package com.tcd.service;

import com.tcd.Policy.pojo.WarrantyInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "cloud-CarInsuranceClaims-Policy", path = "/warranty-info")
public interface WarrantyInfoservice {
    @RequestMapping("/getWarrantyInfo")
    public List<WarrantyInfo> getWarrantyInfo(@RequestParam(value = "warrantyId", required = false) String warrantyId, @RequestParam(value = "licenseId", required = false) String licenseId, @RequestParam(value = "policyholdersName", required = false) String policyholdersName);
}
